package com.ruoyi.recipe.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 轮播图对象 recipe_slide_pic
 * 
 * @author ruoyi
 * @date 2024-11-23
 */
public class RecipeSlidePic extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 图片Id */
    private Long picId;

    /** 图片URL */
    @Excel(name = "图片URL")
    private String picUrl;

    /** 食谱ID */
    @Excel(name = "食谱ID")
    private Long dishId;

    /** 跳转URL */
    @Excel(name = "跳转URL")
    private String jumpUrl;

    /** 状态（0正常 1停用） */
    @Excel(name = "状态", readConverterExp = "0=正常,1=停用")
    private String status;

    public void setPicId(Long picId) 
    {
        this.picId = picId;
    }

    public Long getPicId() 
    {
        return picId;
    }

    public void setPicUrl(String picUrl) 
    {
        this.picUrl = picUrl;
    }

    public String getPicUrl() 
    {
        return picUrl;
    }

    public void setDishId(Long dishId) 
    {
        this.dishId = dishId;
    }

    public Long getDishId() 
    {
        return dishId;
    }

    public void setJumpUrl(String jumpUrl) 
    {
        this.jumpUrl = jumpUrl;
    }

    public String getJumpUrl() 
    {
        return jumpUrl;
    }

    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("picId", getPicId())
            .append("picUrl", getPicUrl())
            .append("dishId", getDishId())
            .append("jumpUrl", getJumpUrl())
            .append("status", getStatus())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
